<?php
include $_SERVER['DOCUMENT_ROOT'].'/fr/include/init.php';
$q1 = mysql_query("SELECT * FROM produit WHERE pro_category < 100");
$q2 = mysql_query("SELECT * FROM produit WHERE pro_category = 102");
$q3 = mysql_query("SELECT * FROM produit WHERE pro_category = 101");
$q4 = mysql_query("SELECT * FROM recette WHERE rec_category = 101");
$q5 = mysql_query("SELECT * FROM recette WHERE rec_category = 104");
$q6 = mysql_query("SELECT * FROM produit WHERE pro_category = 103");
include $_SERVER['DOCUMENT_ROOT'].'/fr/include/close_connexion.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<? include $_SERVER['DOCUMENT_ROOT'].'/fr/include/meta.php'; ?>
	<meta name="description" content="Herbes de Chine : Plan du site" />
	<meta name="keywords" content="Herbes de chine,Plan du site" />
	<title>Herbes de Chine : Plan du site</title>
	<link href="/fr/css/common.css" rel="stylesheet" type="text/css" />
	<link href="/fr/css/inside.css" rel="stylesheet" type="text/css" />
	<link href="/fr/css/info.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<? include '../include/header.php'; ?>
	<div id="tools">
		<table>
			<tr>
				<td id="chemin"><a href="/fr/index.php">Accueil</a> > Plan du site</td>
				<td id="search">
					<? include '../include/displaytoolbar.php'; ?>
				</td>
			</tr>
		</table>
	</div>
	<table id="body" class="widescreen">
		<tr class="top"><td colspan="2"></td></tr>
	    <tr class="middle"><td class="content">
		<h1>Plan du site</h1>
		<div id="intro">
			<h2>Herbes</h2>
			<?
			while ($product = mysql_fetch_array($q1) ){
			?>
				<a href="http://www.herbesdechine.com/fr/produits/article.php?id=<? echo $product['pro_id'] ?>"><? echo $product['pro_nom']." ".$product['pro_nom_cn'] ?></a><br />
			<? } ?>
		<br /><br /></div><div id="login">
			<h2>Épices</h2>
			<?
			while ($product = mysql_fetch_array($q2) ){
			?>
				<a href="http://www.herbesdechine.com/fr/produits/article.php?id=<? echo $product['pro_id'] ?>"><? echo $product['pro_nom']." ".$product['pro_nom_cn'] ?></a><br />
			<? } ?>
			<h2>Thés</h2>
			<?
			while ($product = mysql_fetch_array($q3) ){
			?>
				<a href="http://www.herbesdechine.com/fr/produits/article.php?id=<? echo $product['pro_id'] ?>"><? echo $product['pro_nom']." ".$product['pro_nom_cn'] ?></a><br />
			<? } 
			while ($product = mysql_fetch_array($q4) ){
			?>
				<a href="http://www.herbesdechine.com/fr/recettes/article.php?id=<? echo $product['rec_id'] ?>"><? echo $product['rec_nom']." ".$product['rec_nom_cn'] ?></a><br />
			<? } ?>
			<h2>Recettes</h2>
			<?
			while ($product = mysql_fetch_array($q5) ){
			?>
				<a href="http://www.herbesdechine.com/fr/recettes/article.php?id=<? echo $product['rec_id'] ?>"><? echo $product['rec_nom']." ".$product['rec_nom_cn'] ?></a><br />
			<? } ?>
			<h2>Accessoires</h2>
			<?
			while ($product = mysql_fetch_array($q6) ){
			?>
				<a href="http://www.herbesdechine.com/fr/produits/article.php?id=<? echo $product['pro_id'] ?>"><? echo $product['pro_nom']." ".$product['pro_nom_cn'] ?></a><br />
			<? } ?>
		</div>
		</td></tr>
		<tr class="bottom"><td colspan="2"></td></tr>
	</table><br />
	<? include '../include/footer.php'; ?>
</body>
</html>
